home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
database
/
res101.arj
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-09-08
|
2KB
|
67 lines
echo off
CLS
echo Preparing to Install the Reservation Assistant
echo ----------------------------------------------
echo off
If X%1X == XX SET DR=C:
If X%1X == XC:X SET DR=C:
If X%1X == Xc:X SET DR=C:
If X%1X == XD:X SET DR=D:
If X%1X == Xd:X SET DR=D:
If X%1X == XE:X SET DR=E:
If X%1X == Xe:X SET DR=E:
If X%1X == XF:X SET DR=F:
If X%1X == Xf:X SET DR=F:
echo off
MD %DR%\RESERVE
If X%1X == XX GOTO GOON
If X%1X == XC:X GOTO GOON
If X%1X == Xc:X GOTO GOON
If X%1X == XD:X GOTO GOON
If X%1X == Xd:X GOTO GOON
If X%1X == XE:X GOTO GOON
If X%1X == Xe:X GOTO GOON
If X%1X == XF:X GOTO GOON
If X%1X == Xf:X GOTO GOON
GOTO BADDRIVE
:GOON
echo off
CLS
echo Installing "Reservation Assistant" to Fixed Disk %DR% in Directory RESERVE
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Installing programs....
echo ~~~~~~~~~~~~~~~~~~~~~~~
echo off
COPY RES.BAT %DR%\
COPY RESALT.BAT %DR%\RESERVE
REN %DR%\RESERVE\RESALT.BAT RES.BAT
COPY RESORG.DAT %DR%\RESERVE
COPY PROISAMD.EXE %DR%\RESERVE
COPY RESERVE.EXE %DR%\RESERVE
COPY RESHELP.DOC %DR%\RESERVE
COPY RESHELP.IND %DR%\RESERVE
echo off
CLS
echo Installing "Reservation Assistant" to Fixed Disk %DR% in Directory RESERVE
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Programs are installed....
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Installing data files.....
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~
MD %DR%\RESERVE\RE1DIR
COPY USEREX.DAT %DR%\RESERVE
COPY RESUNIT.DAT %DR%\RESERVE
COPY RESMGR.DAT %DR%\RESERVE
echo off
CLS
echo Almost done........
%DR%
CD\
RES
GOTO ENDINST
:BADDRIVE
CLS
echo Not an acceptable Disk Drive specifeid...
echo -----------------------------------------
echo Example, use INSTALL D: for D Drive, or INSTALL E: for E Drive